<template>
  <div class="about">
    <div class="top">
      <div class="good-list" v-for="item in $store.state.goodlist" :key="item.id">
        <img :src="item.pic" alt="" />
        <p>{{ item.name }}</p>
        <p>{{item.num}}</p>
        {{item.flag}}
      </div>
    </div>
  </div>
</template>

<script>
export default {
  data() {
    return {
      list: [],
    };
  },
  methods: {
  
  },
  created() {
   let index = this.$route
   console.log(index);
  },
};
</script>
<style lang="scss" scoped>
.about {
  .top {
    width: 100%;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    text-align: center;
    align-items: center;
    .good-list {
      width: 33.3%;
      img {
        width: 200px;
        height: 200px;
      }
    }
  }
}
</style>
